package org.lemon.transport.context.service;

public interface TransportAuthServiceCallback<T> {

    TransportAuthServiceCallback<Void> EMPTY = new TransportAuthServiceCallback<Void>() {
        @Override
        public void onSuccess(Void msg) {

        }

        @Override
        public void onError(Throwable e) {

        }
    };

    void onSuccess(T msg);

    void onError(Throwable e);
}
